/** *******************************************************************
 * FlexDatabaseManager
 * Copyright (c) 2008 Jonnie Spratley. All Rights Reserved.
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class CreateTableEvent extends CairngormEvent
	{
		public static const CREATE_TABLE_EVENT:String = "CREATE_TABLE_EVENT";

		/* public var aDatabase:DatabaseVO; */
		/* public var aTable:TableVO; */
		public var aNewTable:String;
		public function CreateTableEvent( /* aDatabase:DatabaseVO, aTable:TableVO */ aNewTable:String )
		{
			super( CREATE_TABLE_EVENT );
			/* this.aDatabase = aDatabase;
			this.aTable = aTable; */
			this.aNewTable = aNewTable;
		}
		
		override public function clone():Event
		{
			return new CreateTableEvent( /* aDatabase, aTable */ aNewTable );
		}
	}
}